package com.cc8w.admin.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cc8w.admin.entity.AdminUserPojo;

import java.util.HashMap;
import java.util.List;

@Repository("aminisermapper")
public interface UserMapper {
	//通过@param给xml传多值
	AdminUserPojo getUserByName( @Param("username")String username, @Param("password")String password);
	List<AdminUserPojo> getUserAll();
	List<AdminUserPojo> getUserList(@Param("page")int page, @Param("size")int size);
	List<AdminUserPojo> getUserPageList(HashMap aup);
	int getUserPageCount(HashMap aup);

}
